package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Permission;


public interface AuthorityDao {
   Page<Permission> findAll(String query);

   void add(Permission permission);

   void delById(Integer id);

   Permission findById(Integer id);

   void update(Permission permission);
}
